package DataStructureBook;

public class Square implements Shape {
    private double area;

    public Square(double area) {
        this.area = area;
    }

    @Override
    public double getArea() {
        return area;
    }

}
